package ontology.models.negotiation;

import jade.content.Concept;
import jade.core.AID;

import java.util.Date;
import java.util.List;

import ontology.concepts.vo.VOOutcome;

public class Proposal implements Concept{
	
	private static final long serialVersionUID = 1L;
	private AID proponent;
	private Date date;
	private Boolean isNewProposal;
	private Boolean isAnsProposal;
	private VOOutcome outcome;
	private Double utility;
	
	public AID getProponent() {
		return proponent;
	}
	public void setProponent(AID proponent) {
		this.proponent = proponent;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public Boolean getIsNewProposal() {
		return isNewProposal;
	}
	public void setIsNewProposal(Boolean isNewProposal) {
		this.isNewProposal = isNewProposal;
	}
	public Boolean getIsAnsProposal() {
		return isAnsProposal;
	}
	public void setIsAnsProposal(Boolean isAnsProposal) {
		this.isAnsProposal = isAnsProposal;
	}
	public VOOutcome getOutcome() {
		return outcome;
	}
	public void setOutcome(VOOutcome outcome) {
		this.outcome = outcome;
	}
	
	public Double getUtility() {
		return utility;
	}
	public void setUtility(Double utility) {
		this.utility = utility;
	}
	@Override
	public String toString() {
		return "Proposal [proponent=" + proponent + ", date=" + date
				+ ", isNewProposal=" + isNewProposal + ", isAnsProposal="
				+ isAnsProposal + ", outcome=" + outcome + "]";
	}
	
}
